//
//  kWebCell.m
//  NewPro
//
//  Created by RYX on 2018/10/31.
//  Copyright © 2018年 何荧红. All rights reserved.
//

#import "kWebCell.h"

@interface kWebCell()
{
    
    __weak IBOutlet UIImageView *im;
}

@end

@implementation kWebCell

+ (instancetype)tempWithTableView:(UITableView *)tableView{
    
    kWebCell *cell = [tableView dequeueReusableCellWithIdentifier:@"CELL"];
    if (!cell) {
        
        cell = [[[NSBundle mainBundle] loadNibNamed:@"kWebCell" owner:self options:nil] objectAtIndex:0];
    }
    
    return cell;
}


- (void)setImgUrl:(NSString *)imgUrl{
    
    [im sd_setImageWithURL:[NSURL URLWithString:imgUrl] placeholderImage:nil];
}

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
